package com.yudaob2b.business.service.impl;


import com.yudaob2b.business.dao.SysUserDao2;
import com.yudaob2b.business.entity.SysUserEntity;
import com.yudaob2b.business.service.SysUserService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 系统用户
 *
 * @author Kidd.Tan
 * @email 298023780@qq.com
 * @date 2018-02-08
 */
@Service("sysUserService2")
public class SysUserServiceImpl extends ServiceImpl<SysUserDao2, SysUserEntity> implements SysUserService {

    @Autowired
    private SysUserDao2 sysUserDao2;

    public List<String> queryAllPerms(Long id) {
        return sysUserDao2.queryAllPerms(id);
    }
}
